Are there any examples for taking a persistent var from the KFlop and displaying it in KMotionCNC?
Specifically I want to show the current turret position from the relevant persistent/user var, and have it show on the screen next to the current tool slot/id value.
Also, is there any issue with relying on While loops to wait for input changes within the ATC script? I know it could lead to a lock up if the required input doesn't happen, but is there any other major reason to avoid this technique?
I will probably redo the script to include timeouts, but I'd just like to get it working similar to how I had the Mach Macro working before altering things too much (If it hanged Mach, hitting stop would kill the locked macro, so it was never a major issue, but will the same work)
What's the best way to kill the ATC thread and halt
KMotionCNC if a fault is detected? Would triggering an EStop be the simplest option?
Thanks,
Moray